<script lang="ts" setup>
import { ref } from 'vue'

const activeName = ref('test1')
</script>

<template>
  <XtxTabs v-model="activeName">
    <XtxTabsPane name="all" label="全部">全部内容</XtxTabsPane>
    <XtxTabsPane name="unpay" label="待付款">待付款内容</XtxTabsPane>
    <XtxTabsPane name="test1" label="测试1">
      <h1>测试1内容</h1>
    </XtxTabsPane>
    <XtxTabsPane name="test2" label="测试2">
      <h1>测试2内容</h1>
    </XtxTabsPane>
  </XtxTabs>
</template>

<style scoped lang="less"></style>
